<html lang="en" xml:lang="en"><head>
<META http-equiv="Content-Type" content="text/html">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><META name="description" content="Deploy your app to your hosted web server."><meta name="content-language" content="en"><link href="rsrc/htmlhelp.css" rel="stylesheet" type="text/css"><title>Web AppBuilder for ArcGIS | Help - Deploy your app
</title>
                <script type="text/javascript" language="JavaScript">
                    var pathL  = self.location.pathname.split ("/");
                    var fname = pathL[pathL.length-1];
                    var i = fname.lastIndexOf (".htm");
                    if (i>=0) {
                    fname = fname.substring (0, i)
                    } else {
                    //??
                    }
                    if (self.location.hash) {
				    		      fname = fname + self.location.hash;
						        }
                    self.location.replace ("../index.html#//" + fname);
                </script>
                </head><!--Publication GUID: [GUID-E7D1C130-8F87-4109-8D61-E73A46083F52]--><!--Topic GUID: [GUID-6F845941-52BE-4F27-8B2D-A01A580CE406]--><body><div id="content"><div class="header"><h1>Deploy your app
</h1><div id="breadcrumb"></div></div>
    <p id="GUID-4160E9B6-63B9-4EC0-876A-621880CDDDE1">
The app you created with Web AppBuilder can be downloaded and hosted on your web server. Any app that is downloaded must be registered with ArcGIS Online or Portal for ArcGIS if the app references nonpublic items.</p>
    <div class="notes" id="GUID-D584E4BE-A850-42DD-8E3E-8AA0D18CCF00"><div class="note"><img class="note_img" src="rsrc/note.png" alt="Note" title="Note"><span>Note:</span></div><div class="tipbody"><p id="GUID-7410CB43-F32D-4F61-8F41-A6D406F20201"> Wherever you deploy the app, it still needs access to the web map.</p></div></div><div class="section1" id="ESRI_SECTION1_1DE2E80BD7FC44BFB842377DD95D1503" purpose="section1"><h2>Download the app</h2><ol purpose="ol" id="OL_189F705185B34E178E8E18897A649D03">
        <li purpose="li" id="LI_D976504A9F7648CCA126AAC6C873F24A">On the home page, click the download button on the app.</li>
        <li purpose="li" id="LI_FD0CA1FFCE3647A286FFCFCD853C71AA">A ZIP file bearing the app's name is created and downloaded to your local drive and resides in the download directory defined for your browser.</li>
      </ol></div>
    <div class="section1" id="GUID-DE10C2E7-51B9-46C7-864E-E0B69DA49203" purpose="section1"><h2>Deploy the app</h2><p id="GUID-4B5CA57D-60F0-425A-8BA4-FE9FB3F2EB97">To deploy the app on your web server, complete the following steps:</p><ol purpose="ol" id="OL_7D357AD000004FF8A22A4687E3D28B77">
        <li purpose="li" id="LI_AA43D3BCFE7A40ABAB4AF5DFD52C7DF9">Unzip the downloaded app.</li>
        <li purpose="li" id="LI_F58B72CBD48D432A8C5F39462A10C979">Deploy it on your web server.</li>
        <li purpose="li" id="LI_8A728A4EAA32456E8D3783D22B764FA7">Browse to the directory of the  app and open the app config.json file.</li>
        <li purpose="li" id="LI_DCA6DCC733CE43E6B90FE9B3BDEAF5DC">Add a proxy to the proxy property in the app config.json file. See <a class="xref" rel="03w3/03w30000004z000000.htm" href="03w3/03w30000004z000000.htm">Use proxy</a> for details.</li>
        <li purpose="li" id="LI_D74BFE27BEA64CF19D1667B5E88E646C">Add and register the app. See <a class="xref" target="_blank" rel="http://server.arcgis.com/en/portal/latest/administer/windows/add-items.htm" href="http://server.arcgis.com/en/portal/latest/administer/windows/add-items.htm">Add apps</a> and <a class="xref" target="_blank" rel="http://server.arcgis.com/en/portal/latest/administer/windows/add-items.htm" href="http://server.arcgis.com/en/portal/latest/administer/windows/add-items.htm">Register your app</a>.</li>
        <li purpose="li" id="LI_2018DA5F43BD4C5C9D2D3DF04C257FAA">Copy and paste the AppID to the appId property in the app config.json file. Save the file.</li>
        </ol><p id="GUID-14716129-3E17-4E5C-8226-A58C7CF4AB78">The app is now available by browsing to  http://[YOUR SERVER]/[app name]/. </p><div class="notes" id="GUID-EA805EAB-B306-4B2E-822D-333019FC3F96"><div class="caution"><img class="note_img" src="rsrc/caution.png" alt="Caution" title="Caution"><span>Caution:</span></div><div class="tipbody">
        <p id="GUID-F9296391-9F0F-4E31-BBC6-CA0C7A69DD15">It is strongly recommended using AppID  to take advantages of the  platform authentication with OAuth and SAML when deploying your app. Otherwise, you must set the proxy in the config file to make the app work in IE8 and IE9.  </p>
      </div></div><p id="GUID-1712F4B6-1BFE-4DF7-90A7-280A194320E6">Do the following to customize the app:</p><ul purpose="ul" id="UL_80679706A6F146A5B95D4EDB39E7909D">
        <li purpose="li" id="LI_99E9461E90A9436DA150E72B3FC52C39">Configure  the app and widgets. See <a target="_blank" class="xref" href="https://developers.arcgis.com/web-appbuilder/api-reference/app-configuration.htm" rel="https://developers.arcgis.com/web-appbuilder/api-reference/app-configuration.htm">JSON reference</a>.</li>
        <li purpose="li" id="LI_6128AE2BAB92434AA243C604EF2425A1">Point to your preferred  ArcGIS API for JavaScript. See <a target="_blank" class="xref" href="https://developers.arcgis.com/web-appbuilder/sample-code/change-url-of-arcgis-api-for-javascript.htm" rel="https://developers.arcgis.com/web-appbuilder/sample-code/change-url-of-arcgis-api-for-javascript.htm">Change URL of ArcGIS API for JavaScript</a>.</li>
      </ul></div>
    <div class="section1" id="ESRI_SECTION1_89F338FD148543308F2DAB8D617EADD3" purpose="section1"><h2>Supported browsers</h2><ul purpose="ul" id="UL_86E1B82CCC094CEAACC5D265338F16F4"><li purpose="li" id="LI_61A98DB5580245F79220D72E6F54500E">The 2D app supports the following browsers: <ul purpose="ul" id="UL_7E42476775FA4E23AB1C4118B8A97455">
        <li purpose="li" id="LI_B094C62F7AFC4AEA82F6C89D16AA1357">Chrome</li>
        <li purpose="li" id="LI_0FF33842D2A5416CAB53F25A928EA79E">Firefox</li>
        <li purpose="li" id="LI_8244515A4F8141AEBD045BD878F940AB">Safari 3 and later</li><li purpose="li" id="LI_89BDE23556DB4685853E64CB665222FD">Edge</li>
        <li purpose="li" id="LI_A6344997FDEA46BD9EF5581EE4FDAB99">Internet Explorer 9 and later</li>
      </ul><div class="notes" id="GUID-11F0960A-096F-4011-BDC2-E7F4C7A0544D"><div class="caution"><img class="note_img" src="rsrc/caution.png" alt="Caution" title="Caution"><span>Caution:</span></div><div class="tipbody"><p id="GUID-D9D6F415-7E78-49D8-88A8-198B9ED9AB53">When you open the deployed app with OAuth  in Internet Explorer 11 or Microsoft Edge, you may receive a pop-up asking if you want to close the tab. When you  click <span class="uicontrol">Yes</span>, the pop-up disappears but  nothing loads in the app. If this happens, add <span class="usertext">.arcgis.com</span> to the trusted sites in your browser's settings.</p></div></div></li><li purpose="li" id="LI_263A7ABFFD8D468C9E424AE234BCD7F7">The  3D app supports the following browsers: <ul purpose="ul" id="UL_E4DC8D766A4D421A88F72FAB31484366">
        <li purpose="li" id="LI_FBA5E4B86E4845E990622B91F0B480A8">Chrome</li>
        <li purpose="li" id="LI_EC8AB6789A474FC7BB9C97BCBFF95227">Firefox</li>
        <li purpose="li" id="LI_CD69FD2867F14D758FE89828A2BEAF9F">Safari 7.1 and later</li><li purpose="li" id="LI_3B01AE3557D44FF485BA38A4054A0883">Edge</li>
        <li purpose="li" id="LI_BAB3214E0D434EA190E66CAEA1CEB460">Internet Explorer 11</li>
      </ul><div class="notes" id="GUID-0FDE6816-B951-469D-865E-C973C73F7BB0"><div class="caution"><img class="note_img" src="rsrc/caution.png" alt="Caution" title="Caution"><span>Caution:</span></div><div class="tipbody"></div></div><p id="GUID-65A92B1E-2EA7-40AC-AB5E-8ED637AB21AE">3D apps do not support devices. Using a 3D app in Web AppBuilder requires a desktop web browser
that supports WebGL. The latest versions of the most common desktop
browsers have WebGL built-in.  To test if your browser has WebGL
enabled, open <a target="_blank" class="xref" rel="http://get.webgl.org/" href="http://get.webgl.org/">get.webgl.org</a>. To troubleshoot WebGL-related issues,
visit <a target="_blank" class="xref" rel="http://get.webgl.org/troubleshooting/" href="http://get.webgl.org/troubleshooting/">WebGL Troubleshooting</a>. Also see the <a class="xref" target="_blank" rel="http://server.arcgis.com/en/portal/latest/administer/windows/scene-viewer-requirements.htm" href="http://server.arcgis.com/en/portal/latest/administer/windows/scene-viewer-requirements.htm">ArcGIS Online topic</a> specific to render scene viewer features for
additional information.</p></li></ul></div>
  <div class="section1" id="ESRI_SECTION1_A6D507D4B4BA449F96D2B5C91C2AF4D3" purpose="section1"><h2>Supported versions of ArcGIS API for JavaScript</h2><p id="GUID-8233068E-25BA-4328-BA88-15DD09C28072">In <span purpose="ph" varid="wab">Web AppBuilder for ArcGIS</span> developer edition 2.0,  2D apps support ArcGIS API for JavaScript 3.16, and 3D apps use <span purpose="ph" varid="ArcGISAPIforJavaScript">ArcGIS API for JavaScript</span> 4.0 online branch. See the <a target="_blank" class="xref" rel="https://developers.arcgis.com/javascript/beta/guide/system-requirements/index.html" href="https://developers.arcgis.com/javascript/beta/guide/system-requirements/index.html">4.0 API system requirements</a> for additional information. </p></div><div class="footer"> Copyright © 1995-2016 Esri. All rights reserved. </div></div></body></html>